package com.example.lucky.draw.server.repository;

import com.example.lucky.draw.server.protocol.po.ActivityResult;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ActivityResultRepository extends JpaRepository<ActivityResult,Long> {

    Integer countActivityResultByActivityIdAndUserId(Long activityId,Long userId);
}
